package io.adrainty.bolee.insurance.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * @author AdRainty
 * @version V1.0.0
 * @since 2025/8/24 下午11:37
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("tab_customer_relation")
@Schema(description = "客户关系")
public class CustomerRelationBO extends BaseBO {
    
    @Serial
    private static final long serialVersionUID = -6763728894969619380L;

    @Schema(description = "关系")
    private String relation;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "身份证号码")
    private String identityCard;

    @Schema(description = "城市编号")
    private String cityNo;

    @Schema(description = "收入")
    private BigDecimal income;

    @Schema(description = "公司")
    private String companyNo;

    @Schema(description = "排序")
    private Integer sortNo;

    @Schema(description = "社保状态（0有 1无）")
    private String socialSecurity;

    @Schema(description ="系统账号编号")
    private String customerId;

    @Schema(description = "数据状态")
    private EnableEnum dataState;
    
}
